<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title><%- title %></title>

    <link rel="icon" href="favicon.ico" type="image/x-icon">
    <script type="text/javascript">
        function getBrowserInfo()
        {
            var agent = navigator.userAgent.toLowerCase() ;
            var regStr_ie = /msie [\d.]+;/gi ;
            var regStr_ff = /firefox\/[\d.]+/gi
            var regStr_chrome = /chrome\/[\d.]+/gi ;
            var regStr_saf = /safari\/[\d.]+/gi ;
            // IE
            if(agent.indexOf("msie") > 0)
            {
                return agent.match(regStr_ie) ;
            }
            // // firefox
            // if(agent.indexOf("firefox") > 0)
            // {
            //     return agent.match(regStr_ff) ;
            // }
            // // Safari
            // if(agent.indexOf("safari") > 0 && agent.indexOf("chrome") < 0)
            // {
            //     return agent.match(regStr_saf) ;
            // }
            // // Chrome
            // if(agent.indexOf("chrome") > 0)
            // {
            //     return agent.match(regStr_chrome) ;
            // }
            return ""
        }
        (function(){
            var browser = getBrowserInfo() ;
            var verInfo = (browser+"").replace(/[^0-9.]/ig,"");
            if ((browser+"").indexOf("msie") >= 0) {
                if (parseFloat(verInfo) < 9.0) {
                    window.onload = function() {
                        var lowestSupportedIEVersion = 9;
                        var el = document.createElement('div'),
                                elStyle = el.style,
                                docBody = document.getElementsByTagName('body')[0],
                                linkStyle = 'color:#06F;text-decoration: underline;';
                        el.innerHTML =	'尊敬的用户：<br />'+
                                '您的Internet Explorer浏览器版本太低。为了让你得到最佳的体验效果，访问本网站需要安装Internet Explorer更新版本的浏览器，'+
                                '请<a href="http://windows.microsoft.com/zh-cn/internet-explorer/download-ie" style="'+linkStyle+'" target="_blank">下载安装IE' + lowestSupportedIEVersion + '</a>（或更新）。'+
                                '也可以在其他浏览器，'+
                                '如<a href="http://www.google.com/intl/zh-CN/chrome/" style="'+linkStyle+'" target="_blank">Chrome</a>'+
                                '或<a href="http://www.firefox.com.cn/download/" style="'+linkStyle+'" target="_blank">Firefox</a>火狐中打开本网站。';
                        // elStyle.width = '100%';
                        elStyle.width = '720px';
                        elStyle.color = '#000';
                        elStyle.fontSize = '14px';
                        elStyle.lineHeight = '180%';
                        elStyle.margin = '60px auto';
                        elStyle.backgroundColor = '#fffbd5';
                        elStyle.border = '1px solid #CCC';
                        elStyle.padding = '24px 48px';
                        docBody.innerHTML = '';
                        docBody.appendChild(el);
                    }
                }
            }
        }());
    </script>
    <!--<link rel="stylesheet" href="/static/css/app.css?t=1" />-->
    <link rel="stylesheet" href="/static/css/choujiang.css?t=1" />
    <script src="/static/js/vendors.js?t=1"></script>
</head>
<body>
    <div id="J_Main"><%- markup %></div>
    <% include default.ejs %>
</body>
</html>
